﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CapturePackage.Model
{
    [SugarTable("migrationhistory")]
    public class MigrationHistory
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]//数据库是自增才配自增 
        public int Id { get; set; }

        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string ConfluenceSpaceId { get; set; }

        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string AnyShareSpaceId { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string AnyShareSpaceName { get; set; }

        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnDataType = "varchar(50)", IsNullable = true)]
        public string DateTime { get; set; }

        [SugarColumn(IsNullable = true)]
        public int TextmigrationCount { get; set; }

        [SugarColumn(IsNullable = true)]
        public int TextmigrationFaillCount { get; set; }

        //[SugarColumn(IsNullable = true)]
        //public int LinkmigrationCount { get; set; }

        [SugarColumn(IsNullable = true)]
        public int LinkmigrationFailCount { get; set; }

        //[SugarColumn(IsNullable = true)]
        //public int AttachmentmigrationCount { get; set; }

        [SugarColumn(IsNullable = true)]
        public int AttachmentmigrationFallCount { get; set; }

        [SugarColumn(IsNullable = true)]
        public int CommentmigrationFallCount { get; set; }

        [SugarColumn(IsNullable = true)]
        public int LikemigrationFallCount { get; set; }

        [SugarColumn(IsNullable = true)]
        public int MigrationTaskId { get; set; }

        [SugarColumn(IsNullable = true)]
        public bool TextmigrationSuccess { get; set; }
    }
}
